PeerRaiser\Model\Participant B

Total Complexity 93
Dependencies 4
Dependents 5
Total lines 728
Lines of code 330
Logical lines of code 221
Comment lines 250
Methods 24
Properties 15

Methods 24

Method Rating Maintainability Complexity Lines of code
save()
A
44 15 45
decrease_donation_count()
A
51 9 27
decrease_value()
S
52 7 26
get_participants()
S
51 7 25
increase_donation_count()
S
54 7 21
setup_participant()
S
51 6 24
insert_participant()
S
54 6 20
increase_value()
S
55 5 20
get_profile_image()
S
54 4 19
add_note()
S
56 3 18
__construct()
S
63 3 11
__get()
S
63 3 11
__set()
S
65 3 9
__isset()
S
64 3 9
update_user()
S
67 2 8
maybe_attach_user()
S
66 2 9
delete()
S
70 1 6
get_meta()
S
79 1 3
update_meta()
S
78 1 3
delete_meta()
S
79 1 3
get_current_participant()
S
76 1 4
get_total_participants()
S
79 1 3
get_id()
S
82 1 3
get_user_id()
S
82 1 3